package com.geely.design.pattern.behavioral.mediator;

public class Test {
    public static void main(String[] args) {
        User tom = new User("Tom");
        User john = new User("John");

        tom.sendMessage("Hi,John! How're you?");
        john.sendMessage("Hi,I'm fine.And you?");

    }
}
